package com.uzai.console.dto.md.mdgoods;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月17日 19:17
 */
@ApiModel("免单商品详情参数")
@Data
public class MdGoodsDto extends BaseDto {

    @ApiModelProperty("商品主键id（编辑旧商品必须上传此id,否则当成新增加商品来入库）")
    private Long id;

    @ApiModelProperty("平台 0淘宝 1京东 2拼多多 3唯品会 11抖音 12快手")
    private Integer platform;

    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("商品id/链接")
    private String itemId;

    @ApiModelProperty("商品标题")
    private String itemTitle;

    @ApiModelProperty("优惠券id")
    private String couponId;

    @ApiModelProperty("商品原价")
    private Double price;

    @ApiModelProperty("优惠券金额")
    private Double couponVal;

    @ApiModelProperty("优惠券开始时间")
    private Integer couponStartTime;

    @ApiModelProperty("优惠券结束时间")
    private Integer couponEndTime;

    @ApiModelProperty("商品券后价")
    private Double finalPrice;

    @ApiModelProperty("减免金额")
    private Double reduction;

    @ApiModelProperty("图片列表")
    private List<String> imgList;

    @ApiModelProperty("多少积分兑换1次")
    private Integer redeemPoints;

    @ApiModelProperty("最大兑换数量")
    private Integer maxExchangeTotal;

    @ApiModelProperty("每人最大领取数量")
    private Integer maxPerPerson;

    @ApiModelProperty("淘口令列表")
    private List<String> tklList;

    @ApiModelProperty("是否检测无优惠券自动下载（0-不检测；1-检测）")
    private Integer checkdrop;

    @ApiModelProperty("是否检测价格佣金变化自动下载（0-不检测；1-检测）")
    private Integer checkdropforprice;

    @ApiModelProperty("下架状态（0-未下架；1-已下架）")
    private Integer dropstatus;

    @ApiModelProperty("拍单要求")
    private String orderRequire;

}
